.class Lcom/zuiapps/library/ui/UpgradeDialog$1$1;
.super Ljava/lang/Object;
.source "UpgradeDialog.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/zuiapps/library/ui/UpgradeDialog$1;->onClick(Landroid/view/View;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/zuiapps/library/ui/UpgradeDialog$1;


# direct methods
.method constructor <init>(Lcom/zuiapps/library/ui/UpgradeDialog$1;)V
    .registers 2
    .param p1, "this$1"    # Lcom/zuiapps/library/ui/UpgradeDialog$1;

    .prologue
    .line 68
    iput-object p1, p0, Lcom/zuiapps/library/ui/UpgradeDialog$1$1;->this$1:Lcom/zuiapps/library/ui/UpgradeDialog$1;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .registers 3

    .prologue
    .line 71
    iget-object v0, p0, Lcom/zuiapps/library/ui/UpgradeDialog$1$1;->this$1:Lcom/zuiapps/library/ui/UpgradeDialog$1;

    iget-object v0, v0, Lcom/zuiapps/library/ui/UpgradeDialog$1;->this$0:Lcom/zuiapps/library/ui/UpgradeDialog;

    # getter for: Lcom/zuiapps/library/ui/UpgradeDialog;->mModel:Lcom/zuiapps/library/model/UpgradeModel;
    invoke-static {v0}, Lcom/zuiapps/library/ui/UpgradeDialog;->access$000(Lcom/zuiapps/library/ui/UpgradeDialog;)Lcom/zuiapps/library/model/UpgradeModel;

    move-result-object v0

    iget-object v0, v0, Lcom/zuiapps/library/model/UpgradeModel;->upgradeType:Lcom/zuiapps/library/model/UpgradeModel$UpgradeType;

    sget-object v1, Lcom/zuiapps/library/model/UpgradeModel$UpgradeType;->FORCE:Lcom/zuiapps/library/model/UpgradeModel$UpgradeType;

    if-ne v0, v1, :cond_16

    .line 72
    iget-object v0, p0, Lcom/zuiapps/library/ui/UpgradeDialog$1$1;->this$1:Lcom/zuiapps/library/ui/UpgradeDialog$1;

    iget-object v0, v0, Lcom/zuiapps/library/ui/UpgradeDialog$1;->this$0:Lcom/zuiapps/library/ui/UpgradeDialog;

    invoke-virtual {v0}, Lcom/zuiapps/library/ui/UpgradeDialog;->finish()V

    .line 79
    :goto_15
    return-void

    .line 73
    :cond_16
    iget-object v0, p0, Lcom/zuiapps/library/ui/UpgradeDialog$1$1;->this$1:Lcom/zuiapps/library/ui/UpgradeDialog$1;

    iget-object v0, v0, Lcom/zuiapps/library/ui/UpgradeDialog$1;->this$0:Lcom/zuiapps/library/ui/UpgradeDialog;

    # getter for: Lcom/zuiapps/library/ui/UpgradeDialog;->mModel:Lcom/zuiapps/library/model/UpgradeModel;
    invoke-static {v0}, Lcom/zuiapps/library/ui/UpgradeDialog;->access$000(Lcom/zuiapps/library/ui/UpgradeDialog;)Lcom/zuiapps/library/model/UpgradeModel;

    move-result-object v0

    iget-object v0, v0, Lcom/zuiapps/library/model/UpgradeModel;->upgradeType:Lcom/zuiapps/library/model/UpgradeModel$UpgradeType;

    sget-object v1, Lcom/zuiapps/library/model/UpgradeModel$UpgradeType;->IGNORE:Lcom/zuiapps/library/model/UpgradeModel$UpgradeType;

    if-ne v0, v1, :cond_45

    .line 74
    iget-object v0, p0, Lcom/zuiapps/library/ui/UpgradeDialog$1$1;->this$1:Lcom/zuiapps/library/ui/UpgradeDialog$1;

    iget-object v0, v0, Lcom/zuiapps/library/ui/UpgradeDialog$1;->this$0:Lcom/zuiapps/library/ui/UpgradeDialog;

    invoke-virtual {v0}, Lcom/zuiapps/library/ui/UpgradeDialog;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/zuiapps/library/db/UpgradeDBUtil;->getInstance(Landroid/content/Context;)Lcom/zuiapps/library/db/UpgradeDBUtil;

    move-result-object v0

    iget-object v1, p0, Lcom/zuiapps/library/ui/UpgradeDialog$1$1;->this$1:Lcom/zuiapps/library/ui/UpgradeDialog$1;

    iget-object v1, v1, Lcom/zuiapps/library/ui/UpgradeDialog$1;->this$0:Lcom/zuiapps/library/ui/UpgradeDialog;

    # getter for: Lcom/zuiapps/library/ui/UpgradeDialog;->mModel:Lcom/zuiapps/library/model/UpgradeModel;
    invoke-static {v1}, Lcom/zuiapps/library/ui/UpgradeDialog;->access$000(Lcom/zuiapps/library/ui/UpgradeDialog;)Lcom/zuiapps/library/model/UpgradeModel;

    move-result-object v1

    iget v1, v1, Lcom/zuiapps/library/model/UpgradeModel;->lastVersion:I

    invoke-virtual {v0, v1}, Lcom/zuiapps/library/db/UpgradeDBUtil;->setIgnoreVersionCode(I)V

    .line 75
    iget-object v0, p0, Lcom/zuiapps/library/ui/UpgradeDialog$1$1;->this$1:Lcom/zuiapps/library/ui/UpgradeDialog$1;

    iget-object v0, v0, Lcom/zuiapps/library/ui/UpgradeDialog$1;->this$0:Lcom/zuiapps/library/ui/UpgradeDialog;

    invoke-virtual {v0}, Lcom/zuiapps/library/ui/UpgradeDialog;->finish()V

    goto :goto_15

    .line 77
    :cond_45
    iget-object v0, p0, Lcom/zuiapps/library/ui/UpgradeDialog$1$1;->this$1:Lcom/zuiapps/library/ui/UpgradeDialog$1;

    iget-object v0, v0, Lcom/zuiapps/library/ui/UpgradeDialog$1;->this$0:Lcom/zuiapps/library/ui/UpgradeDialog;

    invoke-virtual {v0}, Lcom/zuiapps/library/ui/UpgradeDialog;->finish()V

    goto :goto_15
.end method
